WeglotWP\Services\Request_Url_Service_Weglot S

Total Complexity 45
Dependencies 6
Dependents 18
Total lines 220
Lines of code 109
Logical lines of code 56
Comment lines 80
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_home_wordpress_directory()
S
57 8 14
url_to_relative()
S
57 8 14
is_rest()
S
57 7 15
get_current_language()
S
58 6 14
is_allowed_private()
S
62 6 10
is_eligible_url()
S
59 4 14
get_weglot_url()
S
72 2 6
__construct()
S
73 1 5
create_url_object()
S
65 1 10
init_weglot_url()
S
76 1 4
get_full_url()
S
79 1 3